<div id="left_side">
	<div id="news_archives">
		<div class="header">
			<h1><?php echo $dataResults->calendar_subject;?></h1>
			<div class="post">
				<?php echo number_format($dataResults->views);?> VIEWS
			</div>
			<?php echo $module_facebook_plugins_share;?>
		</div>
		<p>
			<center>
			<a href="<?php echo image_asset_url('../uploads/calendar/images/original/'.@$dataResults->image->calendar_file_name.'.'.@$dataResults->image->calendar_file_ext);?>" rel="gallery">
				<?php echo exec_image(array(
					'folder' => 'calendar',
					'dimension' => '300x420',
					'file_name' => @$dataResults->image->calendar_file_name.'.'.@$dataResults->image->calendar_file_ext,
					'alt' => ''.@$dataResults->calendar_subject.'',	
					'title' => ''.@$dataResults->calendar_subject.''	
					)
				);?>
			</a>
			</center>
		</p>
		<div class="info">
			<p><strong>เริ่มกิจกรรม:</strong> <?php echo convertDatetimeToString($dataResults->calendar_activity_date_start);?> - <?php echo convertDatetimeToString($dataResults->calendar_activity_date_end);?></p>
			<?php if($dataResults->calendar_place):?>
				<p><strong>สถานที่:</strong> <?php echo $dataResults->calendar_place;?></p>
			<?php endif;?>
			<?php if($dataResults->calendar_link):?>
				<p><strong>เว็บไซต์ที่เกี่ยวข้อง:</strong> <a href="<?php echo $dataResults->calendar_link;?>" target="_blank"><?php echo $dataResults->calendar_link;?></a></p>
			<?php endif;?>
			<?php echo $dataResults->calendar_detail;?>
		</div>
		<div id="news_archive_comment">
			<h2>
				<span>
					แสดงความคิดเห็น
				</span>
			</h2>
			<!--Facebook Comment-->
			<?php echo $module_facebook_plugins_comment;?>
		</div>	
	</div>
</div>
<div id="right_side">
	<!--Module-->
	<?php
	if(!empty($module))
	foreach($module as $value):?>
	<?php echo $value;?>
	<?php endforeach;?>
</div>
<script type="text/javascript" language="javascript">
    (function($) {
        /*whatever jQuery stuff*/
        $(function(){
			//Colorbox
			$('a[rel="gallery"]').colorbox();
        });
    })(jQuery);
</script>